package org.mzyyn.qr.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分享表
 * </p>
 *
 * @author lipeng
 * @since 2024-09-04
 */
@Getter
@Setter
@TableName("t_share")
public class SharePO implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分享code
     */
    private String shareCode;

    /**
     * 用户uuid
     */
    private String userUuid;

    /**
     * 状态：0已领取，1未领取
     */
    private Integer state;

    /**
     * 奖品：1积分 2QQ会员
     */
    private Integer prize;

    /**
     * 奖品数据：积分存积分总数
     */
    private String prizeValue;

    /**
     * 领取号码
     */
    private String claimNumber;

    /**
     * 发放状态
     */
    private Integer fafangState;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
